package com.ruoyi.project.check.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Objects;

public class CheckMode extends BaseEntity {
    private String caseId;//病例单号
    private String checkCode;//检查单号
    private String patiId;//患者ID
    private String examName;//检查项目
    private String patiName;//患者姓名
    private String checkResult;//检查结果
    private String checkStatus;//检查状态
    private Integer payStatus;//支付状态
    private String fileName;//系统自动生成的图片名称
    private String fileSite;//图片地址

    @Override
    public String toString() {
        return "CheckMode{" +
                "caseId='" + caseId + '\'' +
                ", checkCode='" + checkCode + '\'' +
                ", patiId='" + patiId + '\'' +
                ", examName='" + examName + '\'' +
                ", patiName='" + patiName + '\'' +
                ", checkResult='" + checkResult + '\'' +
                ", checkStatus='" + checkStatus + '\'' +
                ", payStatus=" + payStatus +
                ", fileName='" + fileName + '\'' +
                ", fileSite='" + fileSite + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CheckMode checkMode = (CheckMode) o;
        return Objects.equals(caseId, checkMode.caseId) &&
                Objects.equals(checkCode, checkMode.checkCode) &&
                Objects.equals(patiId, checkMode.patiId) &&
                Objects.equals(examName, checkMode.examName) &&
                Objects.equals(patiName, checkMode.patiName) &&
                Objects.equals(checkResult, checkMode.checkResult) &&
                Objects.equals(checkStatus, checkMode.checkStatus) &&
                Objects.equals(payStatus, checkMode.payStatus) &&
                Objects.equals(fileName, checkMode.fileName) &&
                Objects.equals(fileSite, checkMode.fileSite);
    }

    @Override
    public int hashCode() {
        return Objects.hash(caseId, checkCode, patiId, examName, patiName, checkResult, checkStatus, payStatus, fileName, fileSite);
    }

    public String getCaseId() {
        return caseId;
    }

    public void setCaseId(String caseId) {
        this.caseId = caseId;
    }

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public String getPatiId() {
        return patiId;
    }

    public void setPatiId(String patiId) {
        this.patiId = patiId;
    }

    public String getExamName() {
        return examName;
    }

    public void setExamName(String examName) {
        this.examName = examName;
    }

    public String getPatiName() {
        return patiName;
    }

    public void setPatiName(String patiName) {
        this.patiName = patiName;
    }

    public String getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(String checkResult) {
        this.checkResult = checkResult;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileSite() {
        return fileSite;
    }

    public void setFileSite(String fileSite) {
        this.fileSite = fileSite;
    }

    public CheckMode() {
    }

    public CheckMode(String caseId, String checkCode, String patiId, String examName, String patiName, String checkResult, String checkStatus, Integer payStatus, String fileName, String fileSite) {
        this.caseId = caseId;
        this.checkCode = checkCode;
        this.patiId = patiId;
        this.examName = examName;
        this.patiName = patiName;
        this.checkResult = checkResult;
        this.checkStatus = checkStatus;
        this.payStatus = payStatus;
        this.fileName = fileName;
        this.fileSite = fileSite;
    }
}
